package com.jianyun.jyzs.activity;

import android.os.Bundle;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import com.jianyun.jyzs.R;
import com.jianyun.jyzs.bean.ForwardConst;
import com.jianyun.jyzs.utils.UtilsStyle;

import java.util.ArrayList;

/**
 * Created by yangshijun on 2018/7/16.
 */

public class SelectFriendActivity extends AppCompatActivity {
    private boolean isSingleForward;
    private Parcelable forwardMessage;
    private ArrayList<Parcelable> forwardMessages;
    private int fromWhere;
    private boolean createNewChat;
    private boolean fromForward;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        UtilsStyle.setStatusBarMode(this,true);
        super.onCreate(savedInstanceState);
        isSingleForward = getIntent().getBooleanExtra(ForwardConst.SINGLE_FORWARD, true);
        forwardMessage = getIntent().getParcelableExtra(ForwardConst.FORWARD_MESSAGE);
        forwardMessages = getIntent().getParcelableArrayListExtra(ForwardConst.FORWARD_MESSAGE_LIST);
        fromWhere = getIntent().getIntExtra(ForwardConst.FROM_WHERE, SelectContact2Activity.FROM_FORWARD);
        createNewChat = getIntent().getBooleanExtra(ForwardConst.CREATE_NEW_CHAT, false);
        fromForward = getIntent().getBooleanExtra(ForwardConst.FROM_FORWARD, false);
        setContentView(R.layout.rce_activity_friends_list);
    }
}
